package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallOrderExpressDao;
import com.appkubes.mall.core.entity.MallOrderExpress;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallOrderExpressService extends AbstractBaseService<BaseMallOrderExpressDao, MallOrderExpress> {

    MallOrderExpress getOneByEntity(MallOrderExpress entity);

    List<MallOrderExpress> selectListByEntity(MallOrderExpress entity);

    IPage<MallOrderExpress> selectPageByEntity(IPage<MallOrderExpress> page);
    IPage<MallOrderExpress> selectPageByEntity(PageVO pageVO);

    IPage<MallOrderExpress> selectPageByEntity(MallOrderExpress entity, IPage<MallOrderExpress> page);
    IPage<MallOrderExpress> selectPageByEntity(MallOrderExpress entity, PageVO pageVO);

    IPage<MallOrderExpress> selectPageByEntity(MallOrderExpress entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallOrderExpress entity);
}
